package com.bjpowernode.dao;

import com.bjpowernode.domain.Student;

import java.util.List;

public interface StudentDao {
    //插入数据，返回插入成功的条数
    int insertStudent(Student student);

    //查询所有
    List<Student> selectStudents();

    //根据id删除
//    int deleteStudentById(int id);

    //根据id查询
    Student selectStudentById(int id);
}
